package com.java.mybatis.service;

import com.java.mybatis.entity.OutboundDetails;

import java.util.List;
import java.util.Map;


public interface OutboundDetailsServices {
    /**
     * 添加
     * @param outboundDetails
     * @return
     */
    int addOutBoundDetails(OutboundDetails outboundDetails);

    /**
     * 分页查询
     * @param page
     * @param pageSize
     * @return
     */
    List<OutboundDetails> queryOutboundDetailsLimit(Integer page, Integer pageSize);

    /**
     * 查询总条数
     * @return
     */
    int queryOutboundDetailsCount();

    /**
     * 批号模糊查询
     * @param map
     * @return
     */
    List<OutboundDetails> queryOutboundDetailsLikeOutboundNumber(Map<String,Object> map);

    /**
     * 货物名称模糊查询
     * @param map
     * @return
     */
    List<OutboundDetails> queryOutboundDetailsLikeGoodName(Map<String,Object> map);

    /**
     * 模糊查询总条数
     * @param str
     * @return
     */
    int queryOutboundDetailsLikeCount(String str);

    /**
     * 模糊查询总条数
     * @param str
     * @return
     */
    int queryOutboundDetailsLikeCount1(String str);
}
